<?php

namespace XYWY\Controller;

/**
 * InvestmentController类
 *
 * @since 1.0 <2015-10-21> SoChishun <14507247@qq.com> Added.
 */
class InvestmentController extends AppbaseController {
    public function index($id=52){
        $title=DXA('POrgDocument/DocumentCategory')->where(array('id'=>$id))->getField('title');
        $data = DXA('POrgDocument/DocumentCategoryContent')->find($id);
        $this->assign('title',$title);
        $this->assign('data', $data);
        $this->display();
    }
    
}
